import request from '@/utils/request'

// 洪水分析-左侧列表-频率
export function GetStatisticsList(sensorType) {
    return request({
        url: '/api/FloodAnalysis/GetStatisticsList',
        method: 'post',
        params: sensorType
    })
}
// 洪水分析-左侧列表-流量
export function GetStatisticsFlowList(sensorType) {
    return request({
        url: '/api/FloodAnalysis/GetStatisticsFlowList',
        method: 'post',
        params: sensorType
    })
}
// 洪水分析-右侧流量-频率
export function GetFlowList(sensorType) {
    return request({
        url: '/api/FloodAnalysis/GetFlowList',
        method: 'post',
        params: sensorType
    })
}
// 洪水分析-右侧流量-流量
export function GetFlowcubeList(sensorType) {
    return request({
        url: '/api/FloodAnalysis/GetFlowcubeList',
        method: 'post',
        params: sensorType
    })
}
// 洪水分析-右侧村庄淹没情况
export function GetVillage(sensorType) {
    return request({
        url: '/api/FloodAnalysis/GetVillage',
        method: 'get',
        params: sensorType
    })
}
// 洪水分析弹窗-洪水分析
export function GetForecastByRivel(sensorType) {
    return request({
        url: '/api/FloodAnalysis/GetForecastByRivel',
        method: 'get',
        params: sensorType
    })
}
// 洪水分析弹窗-洪水分析 村庄关联河道 洪水过程图
export function GetForecastByAddvcd(sensorType,urls) {
    return request({
        url:urls,// '/api/FloodAnalysis/GetForecastByAddvcd',
        method: 'get',
        params: sensorType
    })
}
// 洪水分析弹窗-沿河村庄
export function GetProtectionVillageByRvcd(sensorType) {
    return request({
        url: '/api/FloodAnalysis/GetProtectionVillageByRvcd',
        method: 'get',
        params: sensorType
    })
}
// 洪水分析弹窗-预警过程
export function GetEarlyWarningProcess(sensorType) {
    return request({
        url: '/api/EarlyWarning/GetEarlyWarningProcess',
        method: 'get',
        params: sensorType
    })
}
// 预警统计-图表
export function GetAllWarningStatistics(sensorType) {
    return request({
        url: '/api/EarlyWarning/GetAllWarningStatistics',
        method: 'get',
        params: sensorType
    })
}
// 预警统计-列表
export function GetWarningStatisticsList(sensorType) {
    return request({
        url: '/api/EarlyWarning/GetWarningStatisticsList',
        method: 'get',
        params: sensorType
    })
}
// 预警信息-监测预警
export function GetMonitoringWarningStatistics(sensorType) {
    return request({
        url: '/api/EarlyWarning/GetMonitoringWarningStatistics',
        method: 'get',
        params: sensorType
    })
}
// 弹窗页-村庄详情
export function GetVillageModel(sensorType) {
    return request({
        url: '/api/EarlyWarning/GetVillageModel',
        method: 'get',
        params: sensorType
    })
}
// 弹窗页-发送短信-获取政区树
export function GetVillageWarnStaticInfo(sensorType) {
    return request({
        url: '/api/SendMessage/GetVillageWarnStaticInfo',
        method: 'get',
        params: sensorType
    })
}
// 弹窗页-通讯录
export function GetSendPerson(sensorType) {
    return request({
        url: '/api/SendMessage/GetSendPerson',
        method: 'get',
        params: sensorType
    })
}
// 弹窗页-通讯录分页
export function GetSendPersonPage(sensorType) {
    return request({
        url: '/api/SendMessage/GetSendPersonPage',
        method: 'get',
        params: sensorType
    })
}
// 横断面详情
export function GetSectionDetail(sensorType) {
    return request({
        url: '/api/Rehearsal/GetSectionDetail',
        method: 'get',
        params: sensorType
    })
}
// 横断面点数据
export function GetSection(sensorType) {
    return request({
        url: '/api/Rehearsal/GetSection',
        method: 'get',
        params: sensorType
    })
}
// 预警报告数据
export function GetExepData(sensorType) {
    return request({
        url: '/api/Plan/GetExepData',
        method: 'get',
        params: sensorType
    })
}
// 转移人员数据
export function GetDetailList(sensorType) {
    return request({
        url: '/api/CalcPreview/GetDetailList',
        method: 'get',
        params: sensorType
    })
}




